#include<iostream>
#define PI 3.1415926
using namespace std;
class Ball{
	public:
		double r;
	Ball(double R) : r(R){}
	double S(){
		return 4*PI*r*r;
	}
	double V(){
		return 4/3*PI*r*r*r;
	}
	double M(){
		return 7.8*V();
	}
	~Ball(){
		cout<<"实验完成"<<endl;
	}

};
int main()
{
	double R;
	cout<<"Please input the radius of the ball"<<endl;
	cin>>R;
	Ball b(R);
	cout<<"球的表面积："<<b.S()<<endl;
	cout<<"球的体积："<<b.V()<<endl;
	cout<<"球的质量："<<b.M()<<endl;
	return 0;
}